
const express = require('express');

const app = express();

app.use(express.static('public'));

app.get('/test',(req,res)=>{

	res.json({
		"a":"asdfghuji"
	});
	
});

const server = app.listen(3000,()=>{
	const url = server.address().address ;
	const port = server.address().port ;
	console.log(`your application is running${url}${port}`);
	// console.log(server.address())
});